home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / DJLSR111.ZIP / libsrc / c / io / clrerr.c next >
C/C++ Source or Header  |  1993-06-28  |  468b  |  19 lines

  1. /* This is file CLRERR.C */
  2. /* This file may have been modified by DJ Delorie (Jan 1991).  If so,
  3. ** these modifications are Coyright (C) 1993 DJ Delorie, 24 Kirsten Ave,
  4. ** Rochester NH, 03867-2954, USA.
  5. */
  6.  
  7. #if defined(LIBC_SCCS) && !defined(lint)
  8. static char sccsid[] = "@(#)clrerr.c    5.2 (Berkeley) 3/9/86";
  9. #endif LIBC_SCCS and not lint
  10.  
  11. #include <stdio.h>
  12. #undef    clearerr
  13.  
  14. clearerr(iop)
  15.     register FILE *iop;
  16. {
  17.     iop->_flag &= ~(_IOERR|_IOEOF);
  18. }
  19.